<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>.:::Cajero ATMr:::.</title>
<style type="text/css">
<!--
body {
	background-image: url(images/fondo_azul.jpg);
}
.Estilo4 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 24px;
}
.Estilo5 {color: #539BCB; font-weight: bold; }
.Estilo6 {color: #5FA3CA}
.Estilo7 {color: #5198C6}
.Estilo8 {
	font-family: "Century Gothic";
	font-size: 14px;
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style></head>

<body>
<form id="form1" name="form1" method="post" action="validaloginatm.do">
  <table width="267" border="4" align="center" bordercolor="#0000FF">
    <tr bordercolor="#0000FF" bgcolor="#D1E4F2">
      <td colspan="2"><p align="center" class="Estilo5">CAJERO ATM</p>
          <p align="center"><img src="images/imagenCajero.jpg" alt="a" width="240" height="240" longdesc="cajeroatm" /></p>
        <p align="center" class="Estilo4"><span class="Estilo7">B</span><span class="Estilo6"> I E N V E N I D O</span></p>        </td>
    </tr>
    <tr bordercolor="#0000FF" bgcolor="#6FA9D1">
      <td width="92" height="26">
       No.Tarjeta      </td>
      <td width="144"><label>
        <input type="text" name="tarjeta" id="tarjeta" />
      </label></td>
    </tr>
    <tr bordercolor="#0000FF" bgcolor="#6FA9D1">
      <td>NIP</td>
      <td><label>
        <input type="text" name="password" id="password" />
      </label></td>
    </tr>
    <tr bordercolor="#0000FF" bgcolor="#6FA9D1">
      <td colspan="2"><div align="center">
        <label>
        <input type="submit" name="c" id="c" value="Enviar" />
        </label>
      </div></td>
    </tr>
  </table>
</form>
<% 
	if(session.getAttribute("usuarioATM")!= null)	session.removeAttribute("usuarioATM");
	if(session.getAttribute("tarjetaATM")!= null)	session.removeAttribute("tarjetaATM");
	if(session.getAttribute("privilegioATM")!= null)	session.removeAttribute("privilegioATM");

//out.println(session.getAttribute("counter"));
if (session.getAttribute("counterATM") == null)  {
	session.setAttribute("counterATM", 0);
}
%>

</body>
</html>
